<?php
	include '../model/database.php';
	include '../model/xl_hinh_anh_dia_diem.php';
	$xl_hinh_anh = new xl_hinh_anh_dia_diem();
	$id = $_REQUEST['id'];
	$name = $_REQUEST['name'];
	$data = array("success"=>false);
	if($xl_hinh_anh->themHinhAnh($name,$id))
		$data = array("success"=>true);
	echo json_encode($data);

?>
